<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         div{
            width:100px;
            height:100px;
            background-color: red;
            margin:10px;
            float:left;
        }
        div:last-child{
            float:right;
        }
        p{
            width:100px;
            height:100px;
            background-color:yellow;
        }
        /* span{
            width:100px;
            height:100px;
            background-color: blue;
            margin:10px;
        }
        div:nth-child(2){
            float:left;
            background-color:yellow;
            margin-left:120px;
            margin-top:-110px;
        }
        span.one{
            float:left;
        } */
        /* img{
            float:left;
        } */
        article{
            width:500px;
            height:200px;
            background-color:aliceblue;
            margin:0 auto;
        }
        h1{
            clear:both;
        }
        section::after{
            content:"";
            clear:left;
            display:block;

        }
    </style>
</head>
<body>
    <article>
        <section>
            <div>div1</div>
            <div>div2</div>
            <div>div3</div>
        </section>
        <!-- <h1></h1> -->
        <p>p1</p>
        <p>p2</p>
        <p>p3</p>
    </article>
    <!-- <div>div1</div>
    <div>div2</div>
    <div>div3</div>
    <span class="one">span1</span>
    <span>span2</span>
    <span>span3</span> -->
    <!-- <img src="./1.jpg" alt="" width="200px" height="100px">今天周五！终于放假了!!!!!!!!!今天周五！终于放假了!!!!!!!!!今天周五！终于放假了!!!!!!!!!今天周五！终于放假了!!!!!!!!!今天周五！终于放假了!!!!!!!!!今天周五！终于放假了!!!!!!!!! -->
</body>
</html>